﻿using Panuon.UI.Silver;
using ProjBobcat.Class.Model;
using ProjBobcat.Class.Model.LauncherProfile;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using System.Web;
using System.Windows;
using System.Windows.Controls;
using WaveringLand_Launcher.Helper;
using WaveringLand_Launcher.Helper.Net;
using WaveringLand_Launcher.Model;

namespace WaveringLand_Launcher.View
{
    public partial class LaunchView : UserControl
    {

        public void Init()
        {
            //Waiting = true;
            //开始初始化配置文件

            //File.Create("wllconfig.json").Close();

            //File.WriteAllText("wllconfig.json", JsonSerializer.Serialize<WllConfig>(new()));

        }
        public LaunchView()
        {
            InitializeComponent();
        }


        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (File.Exists("background.mp4"))
                MediaEle.Play();

        }

    }
}